<?php
namespace test;

class Loader{

    static function autoload($class){
        $class = str_replace('\\','/',$class);
        $className = BASEDIR.'/'.$class.'.php';
        require $className;
    }
}